package com.miszczu.dao;

import java.util.List;

import com.miszczu.model.Users;

public interface UsersDao {

	public final static String STUDENT = "ROLE_STUDENT";
	public final static String TEACHER = "ROLE_TEACHER";
	
	public Long getNumberOfUsersForClass(String userType, Integer classId);
	public List<Users> getUsersForsClass(String userType, Integer classId);
	public List<Users> getAllUsers(String type);
	public void save(Users user);
	public void update(Users user);
	public Users getOne(Integer id);
	public Users getOneByLogin(String login);
	public void delete(Users users);
	
}
